import Component from 'vue-class-component';
import BaseListApp from '@/lib/base/BaseListApp';
import QrcodeUtils from '@/lib/utils/QrcodeUtils';

@Component
class App extends BaseListApp {
    private url = '';
    public render() {
        return (

            <div class="app" onTap={async () => {
                const url = await QrcodeUtils.getInstance().make('asdsdsd');
                this.url = url;

            }}>
                <span >THIS IS APP DEMO PAGE</span>

            </div>

        )
    }

    public apiready() {
        // apicloud引擎加载完成调用方法



    }

    public request() {
        return new Promise<any>((res) => {
            setTimeout(() => {
                res({ code: 200, data: [1, 2, 3, 4, 5, 6, 7, 8], msg: '' });
            }, 3000);
        });
    }

}
